import styled from "styled-components";
import bg from "@/static/imgs/courseContent/bg.736bc955.png";
import container from "@/static/imgs/courseContent/bg2.f1d135dc.png";

const Wrapper = styled.div`
    .join-code-dialog {
        position: fixed;
        z-index: 999;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: auto;
        margin: 0;
        background: skyblue;
        color: #fff;
    }

    .join-code-dialog .qrcode-box {
        justify-content: space-between;
        height: 100%;
        border-radius: 0;
        background: url(${bg}) no-repeat 50% / cover;
        width: 100%;
        position: relative;
    }

    .join-code-dialog .left {
        height: 100%;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .join-code-dialog .left h1 {
        font-size: 40px;
        font-weight: 500;
        text-align: center;
        line-height: 40px;
    }

    .join-code-dialog .left h3 {
        margin: 24px 0 32px;
        font-size: 24px;
        text-align: center;
        line-height: 32px;
    }

    .join-code-dialog .left .code-container {
        width: 446px;
        height: 446px;
        padding: 16px;
        background-image: url(${container});
        background-size: 100%;
        background-position: 50%;
        background-repeat: no-repeat;
        background-color: hsla(0, 0%, 100%, .4);
        border-radius: 8px;
    }

    .join-code-dialog .right {
        height: 100%;
        width: 400px;
        text-align: center;
        background-color: hsla(0, 0%, 100%, .4);
    }

    .join-code-dialog .right .header {
        padding: 16px 0;
        text-align: right;
    }

    .join-code-dialog .right .header img {
        width: 38px;
    }

    .join-code-dialog .right .title-name {
        padding: 40px 0;
        font-size: 24px;
    }

    .join-code-dialog .right .title-name h2 {
        font-size: 30px;
        margin-bottom: 16px;
    }

    .join-code-dialog .right .title-name h3 {
        font-size: 24px;
    }

    .join-code-dialog .right .title-name p {
        padding-top: 60px;
        font-size: 120px;
        font-weight: 700;
        color: #04f5b5;
    }

    .join-code-dialog .right .btn-box {
        position: absolute;
        width: 400px;
        text-align: center;
        bottom: 64px;
    }
`;
export default Wrapper;